<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title><html:text name="sys.name" /></title>
</head>
<body>
<html:form action="/crm/lsdProduct/save.crm" id="saveForm">
<html:token/><html:hidden id="lsdProduct.id" name="lsdProduct.id"/>
	<table class="input-table" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header"  style="text-align:center;"><html:text
				name="lsdProduct.action" /></td>
		</tr>
		<html:if test="myMessage!=null">
		<tr>
			<td colspan="4"  style="text-align:center;"><html:property value="myMessage" escape="false"/></td>
		</tr>
		</html:if>
		<tr>
			<td colspan="4"  style="text-align:center;"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.save"/> ">&nbsp;<input type="button"
				onclick="javascript:backFunction();" id="backButton"
				value=" <html:text name="button.back"/> "></td>
		</tr>
		<tr>
			<td colspan="4">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
			<tr>
					<td ><html:text name="lsdProduct.lsdId">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.lsdId" name="lsdProduct.lsdId"></html:textfield></td>
					<td ><html:text name="lsdProduct.productId">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.productId" name="lsdProduct.productId"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.productXh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.productXh" name="lsdProduct.productXh"></html:textfield></td>
					<td ><html:text name="lsdProduct.productName">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.productName" name="lsdProduct.productName"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.price">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.price" name="lsdProduct.price"></html:textfield></td>
					<td ><html:text name="lsdProduct.nums">  </html:text></td>
					<td class="td-input"><html:textfield dataType="int"   id="lsdProduct.nums" name="lsdProduct.nums"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.xj">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.xj" name="lsdProduct.xj"></html:textfield></td>
					<td ><html:text name="lsdProduct.remark">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.remark" name="lsdProduct.remark"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.cbj">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.cbj" name="lsdProduct.cbj"></html:textfield></td>
					<td ><html:text name="lsdProduct.qzSerialNum">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.qzSerialNum" name="lsdProduct.qzSerialNum"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.khCbj">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.khCbj" name="lsdProduct.khCbj"></html:textfield></td>
					<td ><html:text name="lsdProduct.qzFlag">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.qzFlag" name="lsdProduct.qzFlag"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.gf">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.gf" name="lsdProduct.gf"></html:textfield></td>
					<td ><html:text name="lsdProduct.dw">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="lsdProduct.dw" name="lsdProduct.dw"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.sd">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.sd" name="lsdProduct.sd"></html:textfield></td>
					<td ><html:text name="lsdProduct.ds">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.ds" name="lsdProduct.ds"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.basicRatio">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.basicRatio" name="lsdProduct.basicRatio"></html:textfield></td>
					<td ><html:text name="lsdProduct.outRatio">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.outRatio" name="lsdProduct.outRatio"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="lsdProduct.lsxj">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="lsdProduct.lsxj" name="lsdProduct.lsxj"></html:textfield></td>
	<td colspan="2">&nbsp;</td>
</tr>

			<html:if test='extendCustomer!=null&&extendCustomer!=""'>
			<tr>
				<td colspan="4" class="td-input"><br></br>
				<b><html:text name="entity.customauto"></html:text></b>
				<hr style="width: 100%;"></hr>
				</td>
			</tr>
			<html:property value="extendCustomer" escape="false"/>
			</html:if>
			</table></td>
			<% 
				com.opensymphony.xwork2.util.ValueStack  obj=(com.opensymphony.xwork2.util.ValueStack)request.getAttribute("struts.valueStack");
				obj.setValue("lsdProduct", null); 
			%>
		</tr>
		
	</table>
	<script type="text/javascript" language="javascript">
		//var provCity = new ProvCity(); 
		//provCity.init('','');  
		function backFunction(){
			window.location="<%=WEBPATH%>/crm/lsdProduct/index.crm";
		}
	</script>
</html:form>
</body>
</html>